<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>4</title>
</head>
<body>
<script>
    //从定义一个班5个学生的分数，求和并输出
    var s1=99;
    var s2=88;
    var s3=77;
    var s4=66;
    var s5=55;
    var sum=s1 + s2 + s3 + s4 + s5;
    console.log("5个学生的分数和为"+sum);

</script>
</body>
</html>